<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表格案例</title>
    <style>
        h3 {
            text-align: center;
        }

        table {
            width: 800px;
            margin: 0 auto;
            /* 表格边框合并 */
            /* border-collapse: collapse; */
        }

        caption {
            text-align: center;
        }

        tr th {
            border-bottom: 1px solid #000;
            text-align: center;
        }

        tr td {
            text-align: center;
        }
    </style>
</head>

<body>
    <h3>表格实战 - 跨列</h3>
    <table border="1">
        <caption>学生个人信息登记表</caption>
        <thead>
            <tr>
                <th colspan="10">高新一中初三一班学生信息登记表</th>
            </tr>
            <tr>
                <th colspan="10">学生基础信息</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>姓名</td>
                <td>xxx</td>
                <td>国籍/地区</td>
                <td>中国</td>
                <td>姓名拼音</td>
                <td>xxx</td>
                <td>班内学号</td>
                <td>34105125</td>
            </tr>
            <tr>
                <td>姓名</td>
                <td>xxx</td>
                <td>国籍/地区</td>
                <td>中国</td>
                <td>姓名拼音</td>
                <td>xxx</td>
                <td>班内学号</td>
                <td>34105125</td>
            </tr>
            <tr>
                <td>姓名</td>
                <td>xxx</td>
                <td>国籍/地区</td>
                <td>中国</td>
                <td>姓名拼音</td>
                <td>xxx</td>
                <td>班内学号</td>
                <td>34105125</td>
            </tr>
            <tr>
                <td>姓名</td>
                <td>xxx</td>
                <td>国籍/地区</td>
                <td>中国</td>
                <td>姓名拼音</td>
                <td>xxx</td>
                <td>班内学号</td>
                <td>34105125</td>
            </tr>
            <tr>
                <td>姓名</td>
                <td>xxx</td>
                <td>国籍/地区</td>
                <td>中国</td>
                <td>姓名拼音</td>
                <td>xxx</td>
                <td>班内学号</td>
                <td>34105125</td>
            </tr>
            <tr>
                <td>姓名</td>
                <td>xxx</td>
                <td>国籍/地区</td>
                <td>中国</td>
                <td>姓名拼音</td>
                <td>xxx</td>
                <td>班内学号</td>
                <td>34105125</td>
            </tr>
            <tr>
                <td>身份证号</td>
                <td colspan="3"></td>
                <td>有效期</td>
                <td colspan="4"></td>
            </tr>
              <tr>
                <td colspan="10">学生个人联系信息</td>
            </tr>
            <tr>
                <td>现住址</td>
                <td colspan="10"></td>
            </tr>
            <tr>
                <td>现住址</td>
                <td colspan="10"></td>
            </tr>
            <tr>
                <td>现住址</td>
                <td colspan="10"></td>
            </tr>
            <tr>
                <td>现住址</td>
                <td colspan="10"></td>
            </tr>
        </tbody>
    </table>
</body>

</html>
